﻿using System.ComponentModel.DataAnnotations;

namespace ProgrammingEducationSystem.Dto
{
    public class ClassRoomForUpdateDto
    {
        [Required(ErrorMessage = "教室ID不可为空")]
        public Guid Id { get; set; }

        [Required(ErrorMessage = "教室名称不可为空")]
        public string Name { get; set; }
    }
}
